package com.jeff.tianti.cms.entity;

import com.jeff.tianti.common.entity.MysqlSequenceIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.transaction.Transactional;
import java.io.Serializable;
@Entity
@Table(name = "certificate")
public class Certificate  extends MysqlSequenceIdEntity implements Serializable {

    private String number;
    private String img;
    private String columnId;
    private String name;
    private String certificateCate;
    @Column(name = "number")
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
    @Column(name = "img")
    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
    @Column(name = "column_id")
    public String getColumnId() {
        return columnId;
    }

    public void setColumnId(String columnId) {
        this.columnId = columnId;
    }
    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    @Transient
    public String getCertificateCate() {
        return certificateCate;
    }

    public void setCertificateCate(String certificateCate) {
        this.certificateCate = certificateCate;
    }
}
